<#assign className = table.className>   
<#assign classNameLower = className?uncap_first> 
package ${basepackage}.${subpackage}.service;


import java.util.List;

import org.springframework.stereotype.Service;

import com.yidian.ep.model.${className};
import com.yidian.ep.model.PageList;

public interface ${className}Service{

	public PageList get${className}List(${className} ${classNameLower}, String keyword, PageList pageList);
	
	public List<${className}> get${className}s(${className} ${classNameLower}, String keyword, int currPage, int pageSize);

	public ${className} get${className}ById(int id);

	public void add${className}(${className} ${classNameLower});

	public void update${className}(${className} ${classNameLower});

	public void delete${className}(String[] id, String userId);
	
}
